<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=IDvNBsejl9oqMbPF316iKsXR"></script>
    <title>根据多关键字本地搜索</title>
    <style type="text/css">
        body, html,#allmap {width: 100%;height: 100%; margin:0;font-family:"微软雅黑";}
        #l-map{height:300px;width:100%;}
        #r-result{width:100%;}
    </style>
</head>
<body>
<div id="l-map"></div>
<div id="r-result"></div>
</body>
</html>
<script type="text/javascript">
    // 百度地图API功能
    var map = new BMapGL.Map("l-map");            // 创建Map实例
    map.centerAndZoom(new BMapGL.Point(113.769523,34.804456), 13);
    var myKeys = ["郑州大学第一附属医院"];
    var local = new BMapGL.LocalSearch(map, {
        renderOptions:{map: map, panel:"r-result"},
        pageCapacity:5
    });
    local.searchInBounds(myKeys, map.getBounds());
</script>
